package com.ruoyi.system.bean.merchant.query;

import com.ruoyi.common.core.page.PageDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

@Data
@ApiModel("商家查询参数")
public class MerchantQuery extends PageDomain {

    @ApiModelProperty(name = "负责人姓名/店名/身份证号/手机号", notes = "")
    @Size(max = 30, message = "查询参数 searchValue 长度不超过30")
    private String searchValue;

    @ApiModelProperty(name = "用户ID", notes = "", required = false)
    private Integer userId;

}
